package com.qqin.service;

import com.qqin.pojo.Address;
import com.qqin.pojo.PageBean;

public interface AddressService {
    PageBean page(Integer page, Integer pageSize);      //分页
    PageBean selectByUser(Integer userId, Integer page, Integer pageSize); //分页&&收货地址查看
    void add(Address address);      //收货地址添加
    Address updateById(Address address);        //收货地址修改
    void deleteById(Integer addressId);     //收货地址删除

}
